projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b36f457
)
arm: omap3: Add board revision output to tao3530
author
Stefan Roese
<
[email protected]
>
Wed, 4 Dec 2013 08:27:36 +0000
(09:27 +0100)
committer
Tom Rini
<
[email protected]
>
Thu, 12 Dec 2013 19:54:21 +0000
(14:54 -0500)
Signed-off-by: Stefan Roese <
[email protected]
>
Cc: Tapani Utriainen <
[email protected]
>
Cc: Thorsten Eisbein <
[email protected]
>
Cc: Tom Rini <
[email protected]
>
board/technexion/tao3530/tao3530.c
patch
|
blob
|
history
diff --git
a/board/technexion/tao3530/tao3530.c
b/board/technexion/tao3530/tao3530.c
index 814537bd7a899bc140b178583d1d6ef696da7a48..5041eaf7d3099691cb353a93e9fb24f2a5d030f4 100644
(file)
--- a/
board/technexion/tao3530/tao3530.c
+++ b/
board/technexion/tao3530/tao3530.c
@@
-131,6
+131,23
@@
int misc_init_r(void)
writel(GPIO31 | GPIO30 | GPIO29 | GPIO28 | GPIO22 | GPIO21 |
GPIO15 | GPIO14 | GPIO13 | GPIO12, &gpio5_base->setdataout);
+ switch (tao3530_revision()) {
+ case 0:
+ puts("TAO-3530 REV Reserve 1\n");
+ break;
+ case 1:
+ puts("TAO-3530 REV Reserve 2\n");
+ break;
+ case 2:
+ puts("TAO-3530 REV Cx\n");
+ break;
+ case 3:
+ puts("TAO-3530 REV Ax/Bx\n");
+ break;
+ default:
+ puts("Unknown board revision\n");
+ }
+
dieid_num_r();
return 0;